var express = require('express');
var app = new express()

var userRouter = require('./router/user')


app.use('/user',userRouter);


var server =app.listen(3000,'localhost',function () {

    var host = server.address().address;
    var port = server.address().port;


    console.log("the server is running on http://%s:%s",host,port);
})